<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="html" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="../folder.ico" />
<title>System Main Page</title>
<link rel="stylesheet" type="text/css" href="../css/theme.css" />
<style type="text/css">
#logout {
	background-color: transparent;
	margin-right:30px;
	margin-top: 30px;
	width: 200px;
	height: 30px;
	font-family: monospace;
	color: graytext;
	float: right;
}



#root_nemu {
	margin: 0;
	padding: 0
}

#root_nemu li {
	float: left;
	list-style: none;
	font: 12px Tahoma, Arial
}

#root_nemu  li a {
	display: block;
	background: #8022E0;
	padding: 5px 12px;
	text-decoration: none;
	border-right: 1px solid white;
	width: 70px;
	color: #EAFFED;
	white-space: nowrap
}

#root_nemu li ul {
	margin: 0;
	padding: 0;
	position: absolute;
	visibility: hidden;
	border-top: 1px solid white
}

#root_nemu li ul li {
	float: none;
	padding-top: 5px;
}
</style>
</head>
<body>

	<div id="logout" onclick="onMouseHover()" onmouseout="onMouseOut()">
		<ul id="root_nemu">
			<li><a href="#">Menu1</a>
				<ul><li>Menu1_1</li>
				
				<li>Menu1_2
				</li>
				<li>Menu1_3
				</li>
				</ul>
			</li>
			<li><a href="#">Menu1</a>
				<ul><li>Menu1_1</li>
				
				<li>Menu1_2
				</li>
				<li>Menu1_3
				</li>
				</ul>
			</li>
			
</ul>
	</div>
	<div id="top">
		<h1>
			<b>login success</b>
		</h1>
		<h1>
			<html:property value="#session.userInfo.nikename" />
			==== ${session.userInfo.nikename}
		</h1>
	</div>
	<div id="usermenu">
		<img src="../folder.ico">
	</div>
</body>
<script type="text/javascript">
	
</script>
<script type="text/javascript">
	window.jQuery
			|| document
					.write('<script src="../js/jquery/jquery-1.9.1.min.js"><\/script>');
</script>
<script type="text/javascript" src="../js/jquery/commons.js"></script>
<script type="text/javascript">
var timeout         = 500;
var closetimer		= 0;
var ddmenuitem      = 0;

function jsddm_open()
{	jsddm_canceltimer();
	jsddm_close();
	ddmenuitem = $(this).find('ul').eq(0).css('visibility', 'visible');}

function jsddm_close()
{	if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}

function jsddm_timer()
{	closetimer = window.setTimeout(jsddm_close, timeout);}

function jsddm_canceltimer()
{	if(closetimer)
	{	window.clearTimeout(closetimer);
		closetimer = null;}}

$(document).ready(function()
{	$('#root_nemu > li').bind('mouseover', jsddm_open);
	$('#root_nemu > li').bind('mouseout',  jsddm_timer);});

document.onclick = jsddm_close;
  </script>
</html>